﻿
@{
    ViewData["Title"] = "Error";
}

<h1>Error</h1>
@model string

<h2>
    @if (Model == "404")
    {
        <span class="text-danger">StatusCode:@Model Not Found</span>
    }
    else if (Model == "500")
    {
        <span class="text-danger">StatusCode:@Model Internal Server Error</span>
    }
    else
    {
        <span class="text-success">StatusCode:200 Success</span>
    }
</h2>

